package com.mystnihon.freeremote.config;

import com.mystnihon.freeremote.BuildConfig;

@SuppressWarnings("all")
public class Config {

    private static final int LOG_NONE_MODE_KEY = 0;
    private static final int LOG_DEBUG_MODE_KEY = 1;
    private static final int LOG_INFO_MODE_KEY = 2;
    private static final int LOG_WARNING_MODE_KEY = 3;
    private static final int LOG_ERROR_MODE_KEY = 4;

    private static final int LOG_MODE = BuildConfig.DEBUG ? LOG_DEBUG_MODE_KEY : LOG_NONE_MODE_KEY;

    public static final boolean DEBUG_MODE_ENABLED = LOG_MODE == LOG_DEBUG_MODE_KEY;
    public static final boolean INFO_MODE_ENABLED = LOG_MODE == LOG_INFO_MODE_KEY || DEBUG_MODE_ENABLED;
    public static final boolean WARNING_MODE_ENABLED = LOG_MODE == LOG_WARNING_MODE_KEY || INFO_MODE_ENABLED;
    public static final boolean ERROR_MODE_ENABLED = LOG_MODE == LOG_ERROR_MODE_KEY || WARNING_MODE_ENABLED;

    public static final String SETTINGS_FILE_NAME = "freeremote_data.xml";
}
